package com.boottest.better.test.createbean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@Configuration
public class BeanFactory {

    @Bean
    public CreateBeanServerOne createBean() {

        return new CreateBeanServerOne();
    }

}
